package com.hgw.Demo02_adapterPattern.Exercises9_9_6;

/**
 * Data time:2021/12/14 11:37
 * StudentID:2019112118
 * Author:hgw
 * Description: 测试类
 */
public class Client {

    public static void main(String[] args) {
        Adapter cat = new Adapter(new ConcreteCat());
        Adapter dog = new Adapter(new ConcreteDog());

        System.out.print("猫");
        cat.ctr();
        System.out.print("狗");
        dog.catchMouse();

    }

}
